Mr Ford's Input Validation Example

This form asks you to enter an email address, a postcode and a name. The email address and postcode are validated by checking that the text entered matches the patterns for email addresses and postcodes.

Name:
email:
postcode:

Questions

  1. How could you improve the validation messages this page displays to visitors?
  2. What other kinds of input would be easy to validate by checking patterns?
  3. What other kinds of input would be hard to validate by checking patterns?
  4. How could you verify that the information entered was correct?

Trivia

This demonstration uses a RegEx (a Regular Expression) to check the text entered. [Wikipedia]